package com.lt.mapper;

import com.lt.dto.StudentApplyDto;
import com.lt.entity.Project;

/**
 * @Author :liteng
 * @Time : 2023/10/30 16:25
 */


public interface ProjectApplyMapper {

    /**
     * 插入项目
     *
     * @param project
     * @return 项目主键
     */
    void insertProject(Project project);


    /**
     * 添加join表
     *
     * @param applyDto
     * @param projectId
     */
    void insertJoin(Long stuId, StudentApplyDto applyDto, Long projectId);

    /**
     * 添加教师指导表
     *
     * @param teacherId
     * @param projectId
     */
    void insertTeacherGuide(Long teacherId, Long projectId);

    /**
     * 添加企业导师指导表
     *
     * @param tutorId
     * @param projectId
     */
    void insertTutorGuide(Long tutorId, Long projectId);

}
